namespace KYO.DAL {
    using System;
    using System.Text;
    using System.Collections;
    using System.Collections.Generic;
    
    public partial class Contact : ObjectPersistence.ORNetBaseType {
        public Contact() {
        }
        public Contact(string Address, string Company, string Content, System.Nullable<System.DateTime> DateCreate, string Email, string Fax, string FullName, bool IsRead, string Telephone, string Title) {
            this.Address = Address;
            this.Company = Company;
            this.Content = Content;
            this.DateCreate = DateCreate;
            this.Email = Email;
            this.Fax = Fax;
            this.FullName = FullName;
            this.IsRead = IsRead;
            this.Telephone = Telephone;
            this.Title = Title;
        }
        public Contact(int ContactId, string Address, string Company, string Content, System.Nullable<System.DateTime> DateCreate, string Email, string Fax, string FullName, bool IsRead, string Telephone, string Title) {
            this.ContactId = ContactId;
            this.Address = Address;
            this.Company = Company;
            this.Content = Content;
            this.DateCreate = DateCreate;
            this.Email = Email;
            this.Fax = Fax;
            this.FullName = FullName;
            this.IsRead = IsRead;
            this.Telephone = Telephone;
            this.Title = Title;
        }

        public int ContactId {
            get {
                return _ContactId;
            }
            set {
                this._ContactId = value;
                this.ChangesMade = true;
            }
        }
        public string Address {
            get {
                return _Address;
            }
            set {
                this._Address = value;
                this.ChangesMade = true;
            }
        }
        public string Company {
            get {
                return _Company;
            }
            set {
                this._Company = value;
                this.ChangesMade = true;
            }
        }
        public string Content {
            get {
                return _Content;
            }
            set {
                this._Content = value;
                this.ChangesMade = true;
            }
        }
        public System.Nullable<System.DateTime> DateCreate {
            get {
                return _DateCreate;
            }
            set {
                this._DateCreate = value;
                this.ChangesMade = true;
            }
        }
        public string Email {
            get {
                return _Email;
            }
            set {
                this._Email = value;
                this.ChangesMade = true;
            }
        }
        public string Fax {
            get {
                return _Fax;
            }
            set {
                this._Fax = value;
                this.ChangesMade = true;
            }
        }
        public string FullName {
            get {
                return _FullName;
            }
            set {
                this._FullName = value;
                this.ChangesMade = true;
            }
        }
        public bool IsRead {
            get {
                return _IsRead;
            }
            set {
                this._IsRead = value;
                this.ChangesMade = true;
            }
        }
        public string Telephone {
            get {
                return _Telephone;
            }
            set {
                this._Telephone = value;
                this.ChangesMade = true;
            }
        }
        public string Title {
            get {
                return _Title;
            }
            set {
                this._Title = value;
                this.ChangesMade = true;
            }
        }




        private int _ContactId;
        private string _Address;
        private string _Company;
        private string _Content;
        private System.Nullable<System.DateTime> _DateCreate;
        private string _Email;
        private string _Fax;
        private string _FullName;
        private bool _IsRead;
        private string _Telephone;
        private string _Title;


        public string ROKeyString {
            get {
                return ("KYO.DAL.Contact" + ContactId.ToString());
            }
        }

    }
}
